import { UserForm } from "@/types/user";
import { get, post } from "@/utils/request"

export const getAllUserServer =  () => {
    return  get('/user/all')
}

export const loginServer = (user:UserForm) => {
    return post('/auth/login' , user)
}